package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_equip", desc = "珍兽装备", autoSave = true, uploadCk = true)
public class LogVehicleEquip extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    long userId;

    @FieldTypeAnnotation(desc = "珍兽唯一id")
    String vehicleUid;

    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;

    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;

    @FieldTypeAnnotation(desc = "0:卸载；1：装备")
    private int opt;

    public LogVehicleEquip(long userId, String vehicleUid, int templateId, int patronsId, int opt) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.patronsId = patronsId;
        this.opt = opt;
    }

    public long getUserId() {
        return userId;
    }
}
